/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ModelLayer;

/**
 *
 * @author Gruppe 4
 */
public class Customer {
    private int customerId;
    private String fname;
    private String lname;
    private String address;
    private int zipCode;
    private String city;
    private String phoneNo;
    private String email;
    private Club club;
    private PrivateCustomer privateCustomer;
    
    
    /**
     * 
     */
    public Customer()
    {
    
    }
    
    public Customer(int customerId)
    {
        this.customerId = customerId;
    }

    public Customer(int customerId, String fname, String lname, String address, int zipCode, String city, String phoneNo, String email, Club club, PrivateCustomer privateCustomer) {
        this.customerId = customerId;
        this.fname = fname;
        this.lname = lname;
        this.address = address;
        this.zipCode = zipCode;
        this.city = city;
        this.phoneNo = phoneNo;
        this.email = email;
        this.club = null;
        this.privateCustomer = null;
    }
    
     /**
     * @return the customerId
     */
    public int getCustomerId() {
        return customerId;
    }

    /**
     * @param customerId the customerId to set
     */
    public void setCustomerId(int customerId) {
        this.customerId = customerId;
    }
    
     /**
     * @return the fname
     */
    public String getFname() {
        return fname;
    }

    /**
     * @param fname the fname to set
     */
    public void setFname(String fname) {
        this.fname = fname;
    }

    /**
     * @return the lname
     */
    public String getLname() {
        return lname;
    }

    /**
     * @param lname the lname to set
     */
    public void setLname(String lname) {
        this.lname = lname;
    }

    /**
     * @return the address
     */
    public String getAddress() {
        return address;
    }

    /**
     * @param address the address to set
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * @return the zipCode
     */
    public int getZipCode() {
        return zipCode;
    }

    /**
     * @param zipCode the zipCode to set
     */
    public void setZipCode(int zipCode) {
        this.zipCode = zipCode;
    }

    /**
     * @return the city
     */
    public String getCity() {
        return city;
    }

    /**
     * @param city the city to set
     */
    public void setCity(String city) {
        this.city = city;
    }

    /**
     * @return the phoneNo
     */
    public String getPhoneNo() {
        return phoneNo;
    }

    /**
     * @param phoneNo the phoneNo to set
     */
    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    /**
     * @return the email
     */
    public String getEmail() {
        return email;
    }

    /**
     * @param email the email to set
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * @return the club
     */
    public Club getClub() {
        return club;
    }

    /**
     * @param club the club to set
     */
    public void setClub(Club club) {
        this.club = club;
    }

    /**
     * @return the privateCustomer
     */
    public PrivateCustomer getPrivat() {
        return privateCustomer;
    }

    /**
     * @param privateCustomer the privateCustomer to set
     */
    public void setPrivatCustomer(PrivateCustomer privateCustomer) {
        this.privateCustomer = privateCustomer;
    }

       
}
